Home
|
GR32
|
|
Several data types are designated to handle rectangles:
type TRect = Windows.TRect;
TRect is redeclared from Windows.h and is compatible with Delphi/Windows API calls.
type TFloatRect = record
case Integer of
0: (Left, Top, Right, Bottom: Single);
1: (TopLeft, BottomRight: TFloatPoint);
end;
A rectangle with floating-point coordinates.
type TFixedRect = record
case Integer of
0: (Left, Top, Right, Bottom: TFixed);
1: (TopLeft, BottomRight: TFixedPoint);
end;
A rectangle with fixed-point coordinates.
Creating Rectangles, TFixed, TFixedPoint, TFloatPoint
Copyright ©2000-2010 Alex Denisov and the Graphics32 Team - Graphics32 v1.9.0 (r1336) - Build on 9-March-2010